home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / programming / oracle7 7.2 / DB / UTIL72 / CAT7102D.SQL < prev    next >
Encoding:
Text File  |  1995-05-09  |  1.4 KB  |  57 lines

  1. rem 
  2. rem $Header: cat7102d.sql 7020100.1 94/09/23 22:14:05 cli Generic<base> $ 
  3. rem 
  4. Rem  Copyright (c) 1992 by Oracle Corporation 
  5. Rem    NAME
  6. Rem      cat7102d.sql - Migrate 7.1.3 down to 7.1.2
  7. Rem    DESCRIPTION
  8. Rem      run this script right after starting up a 7.1.3 database with 7.1.2
  9. REM      code for the first time.
  10. Rem    RETURNS
  11. Rem 
  12. Rem    NOTES
  13. Rem
  14. Rem    MODIFIED   (MM/DD/YY)
  15. Rem     wmaimone   04/22/94 -  fix merge error
  16. Rem     wmaimone   04/08/94 -  merge changes from branch 1.1.710.2
  17. Rem     agupta     03/28/94 -  merge changes from branch 1.1.710.1
  18. Rem     wmaimone   03/16/94 -  invalidate plsql
  19. Rem     agupta     01/20/94 -  Branch_for_patch
  20. Rem     agupta     01/19/94 -  Creation
  21.  
  22. Rem
  23. Rem Restore cache attributes on tables and clusters for parallel query
  24. update tab$ set spare2 = 0
  25. /
  26. update clu$ set spare6 = 0
  27. /
  28.  
  29. Rem
  30. Rem Invalidate PL/SQL
  31.  
  32. REM     Invalidate all stored procedures...
  33. update obj$ set status = 6
  34. where type in (7, 8, 9, 11)
  35.   and status not in (5, 6)
  36.   and linkname is null
  37. /
  38. commit
  39. /
  40.  
  41. REM     Delete all diana and pcode of objects...
  42. truncate table idl_ub1$
  43. /
  44. truncate table idl_char$
  45. /
  46. truncate table idl_ub2$
  47. /
  48. truncate table idl_sb4$
  49. /
  50.  
  51. REM     Flush the dictionary and library caches...
  52. alter system flush shared_pool
  53. /
  54. REM     One more time for good measure...
  55. alter system flush shared_pool
  56. /
  57.